<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>GameEngine: MainFrame Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">GameEngine
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('class_main_frame.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-static-methods">Static Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#pri-static-attribs">Static Private Attributes</a> &#124;
<a href="class_main_frame-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">MainFrame Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:acebf0a6c4924b2b84ab24655a6baf0cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#acebf0a6c4924b2b84ab24655a6baf0cd">MainFrame</a> (void)</td></tr>
<tr class="separator:acebf0a6c4924b2b84ab24655a6baf0cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afbebb93bc23a83a91e6625b58af3fe96"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#afbebb93bc23a83a91e6625b58af3fe96">~MainFrame</a> (void)</td></tr>
<tr class="separator:afbebb93bc23a83a91e6625b58af3fe96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac03a74c1c62204921d62df2542491bea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#ac03a74c1c62204921d62df2542491bea">gameLoop</a> ()</td></tr>
<tr class="separator:ac03a74c1c62204921d62df2542491bea"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a8eab35ca135478c55843b8721f207430"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a8eab35ca135478c55843b8721f207430">WIDTH</a> = 800</td></tr>
<tr class="separator:a8eab35ca135478c55843b8721f207430"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafdd9b7cec21101f1796ce80ea142690"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#aafdd9b7cec21101f1796ce80ea142690">HEIGHT</a> = 600</td></tr>
<tr class="separator:aafdd9b7cec21101f1796ce80ea142690"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9561d6e87df6ac39aa0cfcc4a867531"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#ab9561d6e87df6ac39aa0cfcc4a867531">TITLE</a> = &quot;AxeEngine V-1.0&quot;</td></tr>
<tr class="separator:ab9561d6e87df6ac39aa0cfcc4a867531"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:aa97eff29a9bb9917e9a71e83abc3340e"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#aa97eff29a9bb9917e9a71e83abc3340e">getTime</a> ()</td></tr>
<tr class="separator:aa97eff29a9bb9917e9a71e83abc3340e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa67fa83c6351687a66ae7005f520ee4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#aa67fa83c6351687a66ae7005f520ee4f">destroy</a> ()</td></tr>
<tr class="separator:aa67fa83c6351687a66ae7005f520ee4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a332843a5560c9fc96c778f1b27d1fbac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a332843a5560c9fc96c778f1b27d1fbac">stopLoop</a> ()</td></tr>
<tr class="separator:a332843a5560c9fc96c778f1b27d1fbac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a028ad2c4101539e141ad89224cb3f13b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a028ad2c4101539e141ad89224cb3f13b">update</a> ()</td></tr>
<tr class="separator:a028ad2c4101539e141ad89224cb3f13b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f0c8d90a138e2d8d19e427bad9b2901"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a3f0c8d90a138e2d8d19e427bad9b2901">render</a> (float interpolation)</td></tr>
<tr class="separator:a3f0c8d90a138e2d8d19e427bad9b2901"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa901a560614cb5a40e58ac3c92b1de9f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#aa901a560614cb5a40e58ac3c92b1de9f">handleInput</a> ()</td></tr>
<tr class="separator:aa901a560614cb5a40e58ac3c92b1de9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab91a6dfc370957f2f2556d4c4ba27a83"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#ab91a6dfc370957f2f2556d4c4ba27a83">changeState</a> (<a class="el" href="class_state_machine.html">StateMachine</a> *level)</td></tr>
<tr class="separator:ab91a6dfc370957f2f2556d4c4ba27a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cebc53540f7c8762a1a42499502fbef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a6cebc53540f7c8762a1a42499502fbef">init</a> ()</td></tr>
<tr class="separator:a6cebc53540f7c8762a1a42499502fbef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad485b82d72f04fdebebbc1f36c7b991d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#ad485b82d72f04fdebebbc1f36c7b991d">initWithGLFW</a> ()</td></tr>
<tr class="separator:ad485b82d72f04fdebebbc1f36c7b991d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a162e5daada4da6b4808a6dd2069267a1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a162e5daada4da6b4808a6dd2069267a1">initGlew</a> ()</td></tr>
<tr class="separator:a162e5daada4da6b4808a6dd2069267a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-methods"></a>
Static Private Member Functions</h2></td></tr>
<tr class="memitem:a35d8811da79dc3304a6f796f9b9f20df"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a35d8811da79dc3304a6f796f9b9f20df">VSyncOff</a> ()</td></tr>
<tr class="separator:a35d8811da79dc3304a6f796f9b9f20df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71a2cd00e88cf91c5f0ec0f1938f7ef5"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a71a2cd00e88cf91c5f0ec0f1938f7ef5">VSyncOn</a> ()</td></tr>
<tr class="separator:a71a2cd00e88cf91c5f0ec0f1938f7ef5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a95948667926bf20ed81d1b3d3aad1c09"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a95948667926bf20ed81d1b3d3aad1c09">lastFrame</a></td></tr>
<tr class="separator:a95948667926bf20ed81d1b3d3aad1c09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49fe003d264bebb7e75a60c579721e1c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a49fe003d264bebb7e75a60c579721e1c">running</a></td></tr>
<tr class="separator:a49fe003d264bebb7e75a60c579721e1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4a233ae7dc1ee6df2290f9d3ad77ea3"><td class="memItemLeft" align="right" valign="top">GLFWwindow *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#ae4a233ae7dc1ee6df2290f9d3ad77ea3">window</a></td></tr>
<tr class="separator:ae4a233ae7dc1ee6df2290f9d3ad77ea3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a72f6446bd28ba58516773f85b514e150"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_state_machine.html">StateMachine</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a72f6446bd28ba58516773f85b514e150">currentState</a></td></tr>
<tr class="separator:a72f6446bd28ba58516773f85b514e150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb164a92af7f27d01bb7a0e3565c34c7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_state_manager.html">StateManager</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#abb164a92af7f27d01bb7a0e3565c34c7">manager</a></td></tr>
<tr class="separator:abb164a92af7f27d01bb7a0e3565c34c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-static-attribs"></a>
Static Private Attributes</h2></td></tr>
<tr class="memitem:af30a73c4bec049446047ccb1d026bb02"><td class="memItemLeft" align="right" valign="top">static const double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#af30a73c4bec049446047ccb1d026bb02">FPS</a> = 60</td></tr>
<tr class="separator:af30a73c4bec049446047ccb1d026bb02"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32d29dd04482e55203e26bbdd63fb97f"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_main_frame.html#a32d29dd04482e55203e26bbdd63fb97f">timer</a> = 0</td></tr>
<tr class="separator:a32d29dd04482e55203e26bbdd63fb97f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00019">19</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acebf0a6c4924b2b84ab24655a6baf0cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MainFrame::MainFrame </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00024">24</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>, <a class="el" href="_main_frame_8h_source.html#l00031">lastFrame</a>, <a class="el" href="_main_frame_8h_source.html#l00039">manager</a>, <a class="el" href="_linked_list_8h_source.html#l00012">NULL</a>, <a class="el" href="_main_frame_8h_source.html#l00032">running</a>, and <a class="el" href="_main_frame_8h_source.html#l00033">window</a>.</p>

</div>
</div>
<a class="anchor" id="afbebb93bc23a83a91e6625b58af3fe96"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">MainFrame::~MainFrame </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00034">34</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ab91a6dfc370957f2f2556d4c4ba27a83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::changeState </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_state_machine.html">StateMachine</a> *&#160;</td>
          <td class="paramname"><em>level</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00180">180</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00166">update()</a>.</p>

</div>
</div>
<a class="anchor" id="aa67fa83c6351687a66ae7005f520ee4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::destroy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00150">150</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="ac03a74c1c62204921d62df2542491bea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::gameLoop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00038">38</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8cpp_source.html#l00150">destroy()</a>, <a class="el" href="_main_frame_8h_source.html#l00035">FPS</a>, <a class="el" href="_main_frame_8cpp_source.html#l00093">getTime()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00174">handleInput()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00101">init()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00154">render()</a>, <a class="el" href="_main_frame_8h_source.html#l00032">running</a>, <a class="el" href="_main_frame_8h_source.html#l00036">timer</a>, <a class="el" href="_main_frame_8cpp_source.html#l00166">update()</a>, and <a class="el" href="_main_frame_8h_source.html#l00033">window</a>.</p>

</div>
</div>
<a class="anchor" id="aa97eff29a9bb9917e9a71e83abc3340e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long MainFrame::getTime </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00093">93</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="aa901a560614cb5a40e58ac3c92b1de9f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::handleInput </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00174">174</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>, <a class="el" href="class_state_machine.html#a2f89dc242f85ca11d6eb400ffa6499bf">StateMachine::handleInput()</a>, and <a class="el" href="_main_frame_8h_source.html#l00033">window</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="a6cebc53540f7c8762a1a42499502fbef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00101">101</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>, <a class="el" href="_state_manager_8cpp_source.html#l00022">StateManager::initialiseState()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>, and <a class="el" href="_main_frame_8h_source.html#l00039">manager</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="a162e5daada4da6b4808a6dd2069267a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::initGlew </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00141">141</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>.</p>

</div>
</div>
<a class="anchor" id="ad485b82d72f04fdebebbc1f36c7b991d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::initWithGLFW </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00112">112</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8cpp_source.html#l00108">error_callback()</a>, <a class="el" href="_main_frame_8h_source.html#l00023">HEIGHT</a>, <a class="el" href="_main_frame_8cpp_source.html#l00141">initGlew()</a>, <a class="el" href="_linked_list_8h_source.html#l00012">NULL</a>, <a class="el" href="_main_frame_8h_source.html#l00024">TITLE</a>, <a class="el" href="_main_frame_8h_source.html#l00022">WIDTH</a>, and <a class="el" href="_main_frame_8h_source.html#l00033">window</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00101">init()</a>.</p>

</div>
</div>
<a class="anchor" id="a3f0c8d90a138e2d8d19e427bad9b2901"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::render </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>interpolation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00154">154</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>, <a class="el" href="class_state_machine.html#a0fabb1a7bbbda3158636cec08623a66e">StateMachine::renderGame()</a>, and <a class="el" href="_main_frame_8h_source.html#l00033">window</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="a332843a5560c9fc96c778f1b27d1fbac"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::stopLoop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00097">97</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_main_frame_8h_source.html#l00032">running</a>.</p>

</div>
</div>
<a class="anchor" id="a028ad2c4101539e141ad89224cb3f13b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::update </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00166">166</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

<p>References <a class="el" href="_state_manager_8cpp_source.html#l00035">StateManager::callStates()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00180">changeState()</a>, <a class="el" href="_main_frame_8h_source.html#l00038">currentState</a>, <a class="el" href="class_state_machine.html#a39949e8a92cdca4854ac5394d6e0ba42">StateMachine::getKeyCode()</a>, <a class="el" href="_main_frame_8h_source.html#l00039">manager</a>, <a class="el" href="class_state_machine.html#aab3dd552f209ece70f8913a5fd4449db">StateMachine::stateChanger()</a>, <a class="el" href="_main_frame_8h_source.html#l00036">timer</a>, and <a class="el" href="class_state_machine.html#a6ed723b00e78eac46515b636c5a8481e">StateMachine::updateGame()</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="a35d8811da79dc3304a6f796f9b9f20df"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::VSyncOff </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00188">188</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a71a2cd00e88cf91c5f0ec0f1938f7ef5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void MainFrame::VSyncOn </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8cpp_source.html#l00184">184</a> of file <a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a72f6446bd28ba58516773f85b514e150"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_machine.html">StateMachine</a>* MainFrame::currentState</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00038">38</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00180">changeState()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00174">handleInput()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00101">init()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00024">MainFrame()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00154">render()</a>, and <a class="el" href="_main_frame_8cpp_source.html#l00166">update()</a>.</p>

</div>
</div>
<a class="anchor" id="af30a73c4bec049446047ccb1d026bb02"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const double MainFrame::FPS = 60</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00035">35</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="aafdd9b7cec21101f1796ce80ea142690"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int MainFrame::HEIGHT = 600</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00023">23</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>.</p>

</div>
</div>
<a class="anchor" id="a95948667926bf20ed81d1b3d3aad1c09"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">long MainFrame::lastFrame</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00031">31</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00024">MainFrame()</a>.</p>

</div>
</div>
<a class="anchor" id="abb164a92af7f27d01bb7a0e3565c34c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_state_manager.html">StateManager</a>* MainFrame::manager</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00039">39</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00101">init()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00024">MainFrame()</a>, and <a class="el" href="_main_frame_8cpp_source.html#l00166">update()</a>.</p>

</div>
</div>
<a class="anchor" id="a49fe003d264bebb7e75a60c579721e1c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool MainFrame::running</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00032">32</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00024">MainFrame()</a>, and <a class="el" href="_main_frame_8cpp_source.html#l00097">stopLoop()</a>.</p>

</div>
</div>
<a class="anchor" id="a32d29dd04482e55203e26bbdd63fb97f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int MainFrame::timer = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00036">36</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>, and <a class="el" href="_main_frame_8cpp_source.html#l00166">update()</a>.</p>

</div>
</div>
<a class="anchor" id="ab9561d6e87df6ac39aa0cfcc4a867531"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * MainFrame::TITLE = &quot;AxeEngine V-1.0&quot;</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00024">24</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>.</p>

</div>
</div>
<a class="anchor" id="a8eab35ca135478c55843b8721f207430"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int MainFrame::WIDTH = 800</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00022">22</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>.</p>

</div>
</div>
<a class="anchor" id="ae4a233ae7dc1ee6df2290f9d3ad77ea3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GLFWwindow* MainFrame::window</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Definition at line <a class="el" href="_main_frame_8h_source.html#l00033">33</a> of file <a class="el" href="_main_frame_8h_source.html">MainFrame.h</a>.</p>

<p>Referenced by <a class="el" href="_main_frame_8cpp_source.html#l00038">gameLoop()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00174">handleInput()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00112">initWithGLFW()</a>, <a class="el" href="_main_frame_8cpp_source.html#l00024">MainFrame()</a>, and <a class="el" href="_main_frame_8cpp_source.html#l00154">render()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Axel/Desktop/informatica/Projects/Workspace C++/Game Engine/src/CoreSystems/<a class="el" href="_main_frame_8h_source.html">MainFrame.h</a></li>
<li>C:/Users/Axel/Desktop/informatica/Projects/Workspace C++/Game Engine/src/CoreSystems/<a class="el" href="_main_frame_8cpp_source.html">MainFrame.cpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="class_main_frame.html">MainFrame</a></li>
    <li class="footer">Generated on Fri Dec 13 2013 19:38:40 for GameEngine by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.5 </li>
  </ul>
</div>
</body>
</html>
